﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Himp.Platform
{
    public class MenuUpdateDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string MenuName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public EnumMenuType MenuType { get; set; }

        /// <summary>
        /// 菜单分类代码
        /// </summary>
        public string MenuCatgeCodg { get; set; }

        /// <summary>
        /// 菜单分类名称
        /// </summary>
        public string MenuCatgeName { get; set; }

        /// <summary>
        /// 多语言
        /// </summary>
        public string? I18n { get; set; }

        /// <summary>
        /// 是否显示分组名
        /// </summary>
        public bool GrpFlag { get; set; }

        /// <summary>
        /// 面包屑导航中隐藏
        /// </summary>
        public bool HideInBreadcrumbFlag { get; set; }

        /// <summary>
        /// 是否快捷菜单项
        /// </summary>
        public bool ShortcutFlag { get; set; }

        /// <summary>
        /// 路由
        /// </summary>
        public string? Link { get; set; }

        /// <summary>
        /// 外部链接
        /// </summary>
        public string? ExternalLink { get; set; }

        /// <summary>
        /// 链接 target
        /// </summary>
        public string? Target { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 是否打开菜单
        /// </summary>
        public bool OpenFlag { get; set; }

        /// <summary>
        /// 有效标识
        /// </summary>
        public bool ValiFalg { get; set; }

        /// <summary>
        /// 隐藏面包屑
        /// </summary>
        public bool HideFlag { get; set; }

        /// <summary>
        /// 是否允许复用
        /// </summary>
        public bool ReuseFlag { get; set; }

        /// <summary>
        /// 顺序号
        /// </summary>
        public int Srtno { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? AclAbility { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? AclRole { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? ClientId { get; set; }
    }
}
